package com.nine.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description:
 * @ClassName: UserInfo
 * @Author: luodeng
 * @Date: 2023/6/7 16:45
 * @Version: 1.0
 */
@Data
@TableName("sys_user")
public class UserInfo {

    @TableId(value = "uid",type = IdType.AUTO)
    private Long uid;

    private String username;

    private String password;

    private String phone;

    private Integer status;// 用户状态1:正常;2:禁用

    private int roleId;

    private String code; //短信验证码

    private BigDecimal balance;
}
